import request from '@/utils/request';

export async function getUserInfo() {
    return request({
        url: '/api/v1/backend/admin/info',
        method: 'get'
    });
}

export async function accountLogin(data) {
    return request({
        url: '/api/v1/backend/admin/account/login',
        method: 'post',
        data: data
    });
}
